<?php
/**
 * The following variables are available in this template:
 * - $this: the CrudCode object
 */
?>
<?php
echo "<?php\n";
$label=$this->pluralize($this->class2name($this->modelClass));
echo "\$page = Yii::app()->getRequest()->getParam('{$this->modelClass}_page') ? Yii::app()->getRequest()->getParam('{$this->modelClass}_page') : 1;";
echo "\$this->breadcrumbs=array(
    Yii::t('site','$label')=>array('admin','{$this->modelClass}_page'=>\$page),
    Yii::t('site','Create'),
);\n";
?>

$this->menu=array(
    array('label'=>Yii::t('site','All Items'),'items'=>array(
        array('label'=>Yii::t('site','Manage <?php echo $label; ?>'), 'url'=>array('admin','<?php echo $this->modelClass ?>_page'=>$page)),
    )),
);
?>

<h1><?php echo "<?php echo Yii::t('site','Create New ".$this->class2name($this->modelClass)."'); ?>"; ?></h1>

<?php echo "<?php echo \$this->renderPartial('_form', array('model'=>\$model,'page'=>\$page)); ?>"; ?>
